import type { AppRouteModule } from '@/router/types'

const demo: AppRouteModule = {
  path: '/page-demo',
  name: 'PageDemo',
  meta: {
    type: 'menu',
    title: '页面',
    icon: 'bicycle'
  },
  component: () => import(/* webpackChunkName: "empty" */ '@/layout/cnps/empty/empty.vue'),
  children: [
    {
      path: 'superSaiyan',
      name: 'SuperSaiyan',
      meta: {
        title: '超级赛亚人'
      },
      component: () =>
        import(/* webpackChunkName: "SuperSaiyan" */ '@/views/pages/demo/superSaiyan.vue')
    },
    {
      path: 'yoda',
      name: 'Yoda',
      meta: {
        title: '尤达大师'
      },
      component: () => import(/* webpackChunkName: "SuperSaiyan" */ '@/views/pages/demo/yoda.vue')
    },
    {
      path: 'coder',
      name: 'Coder',
      meta: {
        title: 'coder'
      },
      component: () => import(/* webpackChunkName: "SuperSaiyan" */ '@/views/pages/demo/coder.vue')
    }
  ]
}

export default demo
